Computer Configuration > Administrative Templates > Firefox > DNS Over HTTPS
Both
HKLM\Software\Policies\Mozilla\Firefox\DNSOverHTTPS
If this policy is enabled, DNS over HTTPS settings cannot be changed by the user. If this policy is disabled or not configured, DNS over HTTPS settings can be changed by the user.